package com.itheima.wallet.common.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Trade implements Serializable {

    @TableId(value = "trade_id")
    private String trade_id;

    @TableField(fill = FieldFill.INSERT)
    private Date trade_time;

    private Double trade_money;

    private int trade_type;

    private String account_id;
}
